﻿namespace SimpleSchedule.Models.Configs
{
    public class ConfigProvider
    {
        public ConfigProvider(IConfiguration config)
        {
            _config = config;
            Config = new();
            _config.Bind(Config);
        }
        private readonly IConfiguration _config;
        public Config Config { get; set; }
    }
}
